package com.chia.multienty.core.parameter.workflow;

import com.chia.multienty.core.annotation.LogMetaId;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
/**
 * <p>
 * 流程保存请求
 * </p>
 *
 * @author Multienty Auto Generator
 * @since 2024-06-02
 */

@Data
@ApiModel(value = "WorkflowProcessSaveParameter",description = "流程保存请求")
@Accessors(chain = true)
public class WorkflowProcessSaveParameter {

    /**
     * 流程编号
     */
    @ApiModelProperty(value = "流程编号")
    @LogMetaId
    @JsonIgnore
    @JsonProperty(required = false)
    private Long processId;
    /**
     * 租户编号
     */
    @ApiModelProperty(value = "租户编号")
    private Long tenantId;
    /**
     * 应用编号
     */
    @ApiModelProperty(value = "应用编号")
    private Long appId;
    /**
     * 流程类型
     */
    @ApiModelProperty(value = "流程类型")
    private Short type;
    /**
     * 流程名称
     */
    @ApiModelProperty(value = "流程名称")
    private String name;
    /**
     * 备注信息
     */
    @ApiModelProperty(value = "备注信息")
    private String remark;
    /**
     * 文件地址
     */
    @ApiModelProperty(value = "文件地址")
    private String fileUrl;
    /**
     * 文件编号
     */
    @ApiModelProperty(value = "文件编号")
    private Long fileId;
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
    /**
     * 已部署key
     */
    @ApiModelProperty(value = "已部署key")
    private String deployedKey;
    /**
     * 已部署编号
     */
    @ApiModelProperty(value = "已部署编号")
    private String deployedId;
    /**
     * 分类
     */
    @ApiModelProperty(value = "分类")
    private String category;
    /**
     * 流程定义编号
     */
    @ApiModelProperty(value = "流程定义编号")
    private String processDefinitionId;
}
